package com.doit.demo02;

import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStream;

public class test03_input {
    public static void main(String[] args) throws IOException {
        InputStream in = new FileInputStream("d:\\work\\abc\\1.txt");
        int date ;
        while( (date=in.read())!=-1)
        {
            System.out.print((char)date);
        }
        in.close();
    }
}
